
import { Injectable } from '@angular/core';
import { FormControl } from '@angular/forms';
import { Form, NgFormControl, NgChildForm, NgChildFormArray, NgValidateForm } from '@farris/devkit';
import { DateConverter, MultiLangConverter } from '@farris/kendo-binding';

@Injectable()
@NgValidateForm({
    formGroupName: '其他数据',
    enableValidate: true
})

@Injectable()
export class DetailFormComponentViewmodelForm extends Form {
    @NgFormControl({
        id: 'jtgjmc_5128d41b_wbw0',
        name: "{{jtgjmc_5128d41b_wbw0}}",
        binding: 'jtgjmc',
        updateOn: 'blur',
        defaultI18nValue: '交通工具名称',
        validRules: [
            {
                type: 'required',
                constraints: [true],
            },
            {
                type: 'matches',
                constraints: [''],
            }
        ]
    })
    jtgjmc: FormControl;

    @NgFormControl({
        id: 'jtgjbh_180587de_bdy1',
        name: "{{jtgjbh_180587de_bdy1}}",
        binding: 'jtgjbh',
        updateOn: 'blur',
        defaultI18nValue: '交通工具编号',
        validRules: [
            {
                type: 'required',
                constraints: [true],
            },
            {
                type: 'matches',
                constraints: [''],
            }
        ]
    })
    jtgjbh: FormControl;

    @NgFormControl({
        id: 'bz_d5dbca52_5gmo',
        name: "{{bz_d5dbca52_5gmo}}",
        binding: 'bz',
        updateOn: 'blur',
        defaultI18nValue: '备注',
    })
    bz: FormControl;

}